package com.yanxp.mybatis.resource;

import java.io.InputStream;

/**
 * 文件路径转成流
 */
public class Resource {

    public InputStream getPathAsSteam(String path) {
        return Resource.class.getClassLoader().getResourceAsStream(path);
    }

}
